package com.poker.wiki.Service;

import com.github.pagehelper.PageInfo;
import com.poker.wiki.entity.Ebook;
import com.poker.wiki.req.EbookQueryReq;
import com.poker.wiki.req.EbookSaveReq;
import org.springframework.stereotype.Service;

@Service
public interface EbookService {

    PageInfo<Ebook> getAllEbook(EbookQueryReq req);

    void save(EbookSaveReq req);

    void delete(Long id);
}
